﻿package export.level
{
	import base.BaseHero;
	import base.BaseLevelListener;
	
	import com.game.event.GameEventType;
	import com.game.manager.EventManager;
	
	public class StageListener12 extends BaseLevelListener
	{
		
		public function StageListener12()
		{
			super();
		}
		
		override public function step():void
		{
			super.step();
			for each(var bh:BaseHero in gc.pWorld.getHeroArray())
			{
				if(bh.y > 650)
				{
					EventManager.getIns().dispatchEvent(GameEventType.ENTER_SUB_LEVEL);
					break;
				}
			}
		}
	}
}